package de.szut.gui.options;

import de.szut.gui.language.TranslatableFormattedTextField;

public class OptionsFormattedTextField extends TranslatableFormattedTextField implements OptionsComponent{

	private static final long serialVersionUID = -7348851479601799967L;
	private String key;
	
	@Override
	public String getOptionComponentState() {
		return getText();
	}

	@Override
	public void setOptionComponentState(String newState) {
		setText(newState);
		
	}

	@Override
	public String getOptionKey() {
		return key;
	}

	@Override
	public void setOptionKey(String key) {
		this.key = key;
	}

}
